OnPagedDataLoader

interface OnPagedDataLoader<T>

Callback interface for loading list-type data.

Parameters

<T>

Data type to be loaded.

Functions

Link copied to clipboard
abstract fun hasNext(): Boolean
Determine whether the data on the next page exists.
Link copied to clipboard
abstract fun hasPrevious(): Boolean
Determine whether the data on the previous page exists.
Link copied to clipboard
abstract fun loadNext(): T
Loads data to be used when the page goes to the next.
Link copied to clipboard
abstract fun loadPrevious(): T
Loads data to be used when the page goes to the previous.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard